package com.lx.pc.service.paypass.impl;

import java.math.BigInteger;

import org.springframework.stereotype.Service;

import com.lx.pc.domain.entity.paypass.PayPassEntity;
import com.lx.pc.domain.vo.paypass.PayPassVo;
import com.lx.pc.mybatis.repository.paypass.PayPassRepository;
import com.lx.pc.service.AbstractService;
import com.lx.pc.service.paypass.IPayPassService;

@Service("payPassService")
public class PayPassServiceImpl extends AbstractService<PayPassEntity, PayPassVo, BigInteger, PayPassRepository> implements IPayPassService{

	@Override
	public PayPassVo findByPayUserId(String userId) {

		return etoV(repository.findByPayUserId(userId));
	}

}
